<!-- 艺人-艺人中心 -->
<template>
	<view class="artistManage">
		<view class="card">
			<Card>
				<view class="item"
					v-for="res in list"
					:key="res.id"
					@click="enterRouterPage(res)"
					>
					<view class="item-left">
						{{res.title}}
					</view>
					<uni-icons type="forward"
						size="30rpx" color="#CED2DE"></uni-icons>
				</view>
			</Card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						id: 1,
						title: '艺人管理'
					},
					{
						id: 2,
						title: '订单管理'
					}
				],
			};
		},
		methods:{
			/**
			 * 进入页面
			 */
			enterRouterPage(val){
				if(val.title === '艺人管理'){
					uni.navigateTo({
						url: '/pages/artist/artistCentre/artistManage/artistManage'
					});
				}
				if(val.title === '订单管理'){
					uni.navigateTo({
						url: '/pages/artist/artistCentre/orderManage/orderManage'
					});
				}
			}
		}
	}
</script>

<style>
	page {
		height: 100%;
	}
</style>
<style lang="less" scoped>
	.artistManage {
		height: 100%;
		#padding(32rpx 0 0 0);
		background: linear-gradient(180deg, rgba(238, 212, 215, 0.8) -3%, rgba(202, 191, 192, 0) 100%);
		
		//卡片
		.card{
			.item{
				#flex(-,space-between,center);
				#box(100%,108rpx);
				&:not(:last-child){
					border-bottom: 2rpx solid #E6E9F0;
				}
				
				.item-left{					
					#font(32rpx,@font-sub-title-color);
				}
			}
		}



	}
</style>